package Cs;

public class XuankeSystem {
   public static void main(String[] args) {
   Course gdsx =new Course("01","高等数学","4201","周三上午8:00-9:40");
   Teacher teacher=new Teacher("201801","王老师","男","35",new Course[]{gdsx});
   Student student=new Student("202201","小王","男","20",new Course[]{gdsx});
   System.out.println("课程编号:"+gdsx.Cno+" 课程名:"+gdsx.Cname+" 地点"+gdsx.place+" 时间"+gdsx.time);
   System.out.println("\n学生编号:"+student.ID+" 学生姓名:"+student.name
		   +" 学生性别:"+student.sex+" 学生年龄"+student.age+" 所选课程"+student.course);
   System.out.println("\n教师编号:"+teacher.ID+" 教师姓名:"+teacher.name+" 教师年龄"+teacher.age+" 所教课程"+teacher.course);
   
    }   
}


